// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.liuxinlong.modules.dao.StandardDao;
import com.liuxinlong.modules.entity.Standard;
import com.liuxinlong.modules.mapper.DesignStandardMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年2月22日
 */
@Service
public class StandardDaoImpl extends ServiceImpl<DesignStandardMapper, Standard>
        implements StandardDao {

    @Override
    public List<Standard> pageStandardList(Map<String, Object> queryParam) {
        return baseMapper.pageStandardList(queryParam);
    }

    @Override
    public int getStandardCount(Map<String, Object> queryParam) {
        return baseMapper.getStandardCount(queryParam);
    }


    @Override
    public Map<String, Map<String, String>> getStandardMap() {
        return baseMapper.getStandardMap();
    }

    @Override
    public Map<String, Map<String, String>> getStandardSnMap() {
        return baseMapper.getStandardSnMap();
    }

    @Override
    public List<Standard> getStandardList() {
        return baseMapper.getStandardList();
    }

    @Override
    public List<Standard> queryStandardListByParam(Map<String, Object> queryParam) {
        return baseMapper.queryStandardListByParam(queryParam);
    }

    @Override
    public int countStandardListByParam(Map<String, Object> queryParam) {
        return baseMapper.countStandardListByParam(queryParam);
    }

    @Override
    public Map<String,Map<String,Object>> queryStandardProductMap(Map<String, Object> queryParam) {
        return baseMapper.queryStandardProductMap(queryParam);
    }

    @Override
    public Map<String,Map<String,Object>> queryStandardRangeMap(Map<String, Object> queryParam) {
        return baseMapper.queryStandardRangeMap(queryParam);
    }

    @Override
    public List<Standard> getStandardListByClass(String id,int startNum) {
        return baseMapper.getStandardListByClass(id,startNum);
    }

    @Override
    public int getStandardCountByClass(String id) {
        return baseMapper.getStandardCountByClass(id);
    }

    @Override
    public Map<String, Map<String, String>> getAllStandardMap() {
        return baseMapper.getAllStandardMap();
    }

    @Override
    public Standard getStandardBySn(String sn) {
        return baseMapper.getStandardBySn(sn);
    }
}
